//
//  UIViewController+YYAdd.h
//  Commom
//
//  Created by 山刘 on 2019/3/19.
//  Copyright © 2019年 山刘. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, SEGNavigationBarDisplayType) {
    SEGNavigationBarDisplayTypeShow,
    SEGNavigationBarDisplayTypeHide,
    SEGNavigationBarDisplayTypeIgnore,
};
NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (YYAdd)

@property (nonatomic, assign) SEGNavigationBarDisplayType navDisplayType;

@property (nonatomic, copy)  NSString* objName;

/**
 强制横屏
 */
- (void)forceOrientationLandscape;

/**
 强制竖屏
 */
- (void)forceOrientationPortrait;


/**
 开启侧滑返回手势
 */
- (void)seg_popGestureOpen;


/**
 关闭侧滑返回手势
 */
- (void)seg_popGestureClose;

@end

NS_ASSUME_NONNULL_END
